package com.szrt.oa.role.dao;



import com.szrt.oa.user.entity.UserEntity;

public interface UserDao {
	
	UserEntity findById(String phone) throws Exception;
	
	/**
	 * 用户登录
	 * @param entity
	 * @return
	 * @throws Exception
	 */
	UserEntity login(UserEntity entity) throws Exception;

}
